/* Copyright (C) 2018 RDA Technologies Limited and/or its affiliates("RDA").
 * All rights reserved.
 *
 * This software is supplied "AS IS" without any warranties.
 * RDA assumes no responsibility or liability for the use of the software,
 * conveys no license or title under any patent, copyright, or mask work
 * right to the product. RDA reserves the right to make changes in the
 * software without notification.  RDA also make no representation or
 * warranty that such application will be suitable for the specified use
 * without further testing or modification.
 */

#ifndef _HAL_IOMUX_PIN_H_
#define _HAL_IOMUX_PIN_H_

// Auto generated. Don't edit it manually!

// all functions
#define HAL_IOMUX_FUN_ADI_SCL 1            // 0x1
#define HAL_IOMUX_FUN_ADI_SDA 2            // 0x2
#define HAL_IOMUX_FUN_ADI_SYNC 3           // 0x3
#define HAL_IOMUX_FUN_AP_JTAG_TCK 4        // 0x4
#define HAL_IOMUX_FUN_AP_JTAG_TDI 5        // 0x5
#define HAL_IOMUX_FUN_AP_JTAG_TDO 6        // 0x6
#define HAL_IOMUX_FUN_AP_JTAG_TMS 7        // 0x7
#define HAL_IOMUX_FUN_AP_JTAG_TRST 8       // 0x8
#define HAL_IOMUX_FUN_AUD_AD_D0 9          // 0x9
#define HAL_IOMUX_FUN_AUD_AD_SYNC 10       // 0xa
#define HAL_IOMUX_FUN_AUD_DA_D0 11         // 0xb
#define HAL_IOMUX_FUN_AUD_DA_D1 12         // 0xc
#define HAL_IOMUX_FUN_AUD_DA_SYNC 13       // 0xd
#define HAL_IOMUX_FUN_AUD_SCLK 14          // 0xe
#define HAL_IOMUX_FUN_CAMERA_PWDN 15       // 0xf
#define HAL_IOMUX_FUN_CAMERA_REF_CLK 16    // 0x10
#define HAL_IOMUX_FUN_CAMERA_RST_L 17      // 0x11
#define HAL_IOMUX_FUN_DEBUG_BUS_0 18       // 0x12
#define HAL_IOMUX_FUN_DEBUG_BUS_1 19       // 0x13
#define HAL_IOMUX_FUN_DEBUG_BUS_2 20       // 0x14
#define HAL_IOMUX_FUN_DEBUG_BUS_3 21       // 0x15
#define HAL_IOMUX_FUN_DEBUG_BUS_4 22       // 0x16
#define HAL_IOMUX_FUN_DEBUG_BUS_5 23       // 0x17
#define HAL_IOMUX_FUN_DEBUG_BUS_6 24       // 0x18
#define HAL_IOMUX_FUN_DEBUG_BUS_7 25       // 0x19
#define HAL_IOMUX_FUN_DEBUG_BUS_8 26       // 0x1a
#define HAL_IOMUX_FUN_DEBUG_BUS_9 27       // 0x1b
#define HAL_IOMUX_FUN_DEBUG_BUS_10 28      // 0x1c
#define HAL_IOMUX_FUN_DEBUG_BUS_11 29      // 0x1d
#define HAL_IOMUX_FUN_DEBUG_BUS_12 30      // 0x1e
#define HAL_IOMUX_FUN_DEBUG_BUS_13 31      // 0x1f
#define HAL_IOMUX_FUN_DEBUG_BUS_14 32      // 0x20
#define HAL_IOMUX_FUN_DEBUG_BUS_15 33      // 0x21
#define HAL_IOMUX_FUN_DEBUG_CLK 34         // 0x22
#define HAL_IOMUX_FUN_DEBUG_HOST_CLK 35    // 0x23
#define HAL_IOMUX_FUN_DEBUG_HOST_RX 36     // 0x24
#define HAL_IOMUX_FUN_DEBUG_HOST_TX 37     // 0x25
#define HAL_IOMUX_FUN_DFE_RX_ENABLE_M_I 38 // 0x26
#define HAL_IOMUX_FUN_DFE_RX_ENABLE_S_O 39 // 0x27
#define HAL_IOMUX_FUN_DIGRF_CP_26M_M_O 40  // 0x28
#define HAL_IOMUX_FUN_DIGRF_CP_26M_S_I 41  // 0x29
#define HAL_IOMUX_FUN_DIGRF_RX_DATA_M_O 42 // 0x2a
#define HAL_IOMUX_FUN_DIGRF_RX_DATA_S_I 43 // 0x2b
#define HAL_IOMUX_FUN_DIGRF_RX_EN_M_O 44   // 0x2c
#define HAL_IOMUX_FUN_DIGRF_RX_EN_S_I 45   // 0x2d
#define HAL_IOMUX_FUN_DIGRF_STROBE_M_I 46  // 0x2e
#define HAL_IOMUX_FUN_DIGRF_STROBE_S_O 47  // 0x2f
#define HAL_IOMUX_FUN_DIGRF_TX_DATA_M_I 48 // 0x30
#define HAL_IOMUX_FUN_DIGRF_TX_DATA_S_O 49 // 0x31
#define HAL_IOMUX_FUN_DIGRF_TX_EN_M_I 50   // 0x32
#define HAL_IOMUX_FUN_DIGRF_TX_EN_S_O 51   // 0x33
#define HAL_IOMUX_FUN_GPIO_0 52            // 0x34
#define HAL_IOMUX_FUN_GPIO_1 53            // 0x35
#define HAL_IOMUX_FUN_GPIO_2 54            // 0x36
#define HAL_IOMUX_FUN_GPIO_3 55            // 0x37
#define HAL_IOMUX_FUN_GPIO_4 56            // 0x38
#define HAL_IOMUX_FUN_GPIO_5 57            // 0x39
#define HAL_IOMUX_FUN_GPIO_6 58            // 0x3a
#define HAL_IOMUX_FUN_GPIO_7 59            // 0x3b
#define HAL_IOMUX_FUN_GPIO_8 60            // 0x3c
#define HAL_IOMUX_FUN_GPIO_9 61            // 0x3d
#define HAL_IOMUX_FUN_GPIO_10 62           // 0x3e
#define HAL_IOMUX_FUN_GPIO_11 63           // 0x3f
#define HAL_IOMUX_FUN_GPIO_12 64           // 0x40
#define HAL_IOMUX_FUN_GPIO_13 65           // 0x41
#define HAL_IOMUX_FUN_GPIO_14 66           // 0x42
#define HAL_IOMUX_FUN_GPIO_15 67           // 0x43
#define HAL_IOMUX_FUN_GPIO_16 68           // 0x44
#define HAL_IOMUX_FUN_GPIO_17 69           // 0x45
#define HAL_IOMUX_FUN_GPIO_18 70           // 0x46
#define HAL_IOMUX_FUN_GPIO_19 71           // 0x47
#define HAL_IOMUX_FUN_GPIO_20 72           // 0x48
#define HAL_IOMUX_FUN_GPIO_21 73           // 0x49
#define HAL_IOMUX_FUN_GPIO_22 74           // 0x4a
#define HAL_IOMUX_FUN_GPIO_23 75           // 0x4b
#define HAL_IOMUX_FUN_GPIO_24 76           // 0x4c
#define HAL_IOMUX_FUN_GPIO_25 77           // 0x4d
#define HAL_IOMUX_FUN_GPIO_26 78           // 0x4e
#define HAL_IOMUX_FUN_GPIO_27 79           // 0x4f
#define HAL_IOMUX_FUN_GPIO_28 80           // 0x50
#define HAL_IOMUX_FUN_GPIO_29 81           // 0x51
#define HAL_IOMUX_FUN_GPIO_30 82           // 0x52
#define HAL_IOMUX_FUN_GPIO_31 83           // 0x53
#define HAL_IOMUX_FUN_GPO_0 84             // 0x54
#define HAL_IOMUX_FUN_GPO_1 85             // 0x55
#define HAL_IOMUX_FUN_GPO_2 86             // 0x56
#define HAL_IOMUX_FUN_GPO_3 87             // 0x57
#define HAL_IOMUX_FUN_GPO_4 88             // 0x58
#define HAL_IOMUX_FUN_GPO_5 89             // 0x59
#define HAL_IOMUX_FUN_GPO_6 90             // 0x5a
#define HAL_IOMUX_FUN_GPO_7 91             // 0x5b
#define HAL_IOMUX_FUN_I2C_M1_SCL 92        // 0x5c
#define HAL_IOMUX_FUN_I2C_M1_SDA 93        // 0x5d
#define HAL_IOMUX_FUN_I2C_M2_SCL 94        // 0x5e
#define HAL_IOMUX_FUN_I2C_M2_SDA 95        // 0x5f
#define HAL_IOMUX_FUN_I2C_M3_SCL 96        // 0x60
#define HAL_IOMUX_FUN_I2C_M3_SDA 97        // 0x61
#define HAL_IOMUX_FUN_I2S1_BCK 98          // 0x62
#define HAL_IOMUX_FUN_I2S1_LRCK 99         // 0x63
#define HAL_IOMUX_FUN_I2S1_SDAT_I 100      // 0x64
#define HAL_IOMUX_FUN_I2S1_SDAT_O 101      // 0x65
#define HAL_IOMUX_FUN_I2S2_BCK 102         // 0x66
#define HAL_IOMUX_FUN_I2S2_LRCK 103        // 0x67
#define HAL_IOMUX_FUN_I2S2_SDAT_I 104      // 0x68
#define HAL_IOMUX_FUN_I2S2_SDAT_O 105      // 0x69
#define HAL_IOMUX_FUN_KEYIN_0 106          // 0x6a
#define HAL_IOMUX_FUN_KEYIN_1 107          // 0x6b
#define HAL_IOMUX_FUN_KEYIN_2 108          // 0x6c
#define HAL_IOMUX_FUN_KEYIN_3 109          // 0x6d
#define HAL_IOMUX_FUN_KEYIN_4 110          // 0x6e
#define HAL_IOMUX_FUN_KEYIN_5 111          // 0x6f
#define HAL_IOMUX_FUN_KEYOUT_0 112         // 0x70
#define HAL_IOMUX_FUN_KEYOUT_1 113         // 0x71
#define HAL_IOMUX_FUN_KEYOUT_2 114         // 0x72
#define HAL_IOMUX_FUN_KEYOUT_3 115         // 0x73
#define HAL_IOMUX_FUN_KEYOUT_4 116         // 0x74
#define HAL_IOMUX_FUN_KEYOUT_5 117         // 0x75
#define HAL_IOMUX_FUN_LCD_FMARK 118        // 0x76
#define HAL_IOMUX_FUN_LCD_RSTB 119         // 0x77
#define HAL_IOMUX_FUN_LTE_GPO_0 120        // 0x78
#define HAL_IOMUX_FUN_LTE_GPO_1 121        // 0x79
#define HAL_IOMUX_FUN_LTE_GPO_2 122        // 0x7a
#define HAL_IOMUX_FUN_LTE_GPO_3 123        // 0x7b
#define HAL_IOMUX_FUN_LTE_GPO_4 124        // 0x7c
#define HAL_IOMUX_FUN_LTE_GPO_5 125        // 0x7d
#define HAL_IOMUX_FUN_LTE_GPO_6 126        // 0x7e
#define HAL_IOMUX_FUN_LTE_GPO_7 127        // 0x7f
#define HAL_IOMUX_FUN_LTE_GPO_8 128        // 0x80
#define HAL_IOMUX_FUN_LTE_GPO_9 129        // 0x81
#define HAL_IOMUX_FUN_LTE_SPI_CS 130       // 0x82
#define HAL_IOMUX_FUN_LTE_SPI_SCLK 131     // 0x83
#define HAL_IOMUX_FUN_LTE_SPI_SDIO 132     // 0x84
#define HAL_IOMUX_FUN_LTE_SPI_SDO 133      // 0x85
#define HAL_IOMUX_FUN_NAND_FLASH_SEL 134   // 0x86
#define HAL_IOMUX_FUN_PWL_OUT_0 135        // 0x87
#define HAL_IOMUX_FUN_PWL_OUT_1 136        // 0x88
#define HAL_IOMUX_FUN_PWM_LPG_OUT 137      // 0x89
#define HAL_IOMUX_FUN_PWT_OUT 138          // 0x8a
#define HAL_IOMUX_FUN_RFDIG_GPIO_0 139     // 0x8b
#define HAL_IOMUX_FUN_RFDIG_GPIO_1 140     // 0x8c
#define HAL_IOMUX_FUN_RFDIG_GPIO_2 141     // 0x8d
#define HAL_IOMUX_FUN_RFDIG_GPIO_3 142     // 0x8e
#define HAL_IOMUX_FUN_RFDIG_GPIO_4 143     // 0x8f
#define HAL_IOMUX_FUN_RFDIG_GPIO_5 144     // 0x90
#define HAL_IOMUX_FUN_RFDIG_GPIO_6 145     // 0x91
#define HAL_IOMUX_FUN_RFDIG_GPIO_7 146     // 0x92
#define HAL_IOMUX_FUN_RFDIG_GPIO_8 147     // 0x93
#define HAL_IOMUX_FUN_RFDIG_GPIO_9 148     // 0x94
#define HAL_IOMUX_FUN_RFDIG_JTAG_TCK 149   // 0x95
#define HAL_IOMUX_FUN_RFDIG_JTAG_TDI 150   // 0x96
#define HAL_IOMUX_FUN_RFDIG_JTAG_TDO 151   // 0x97
#define HAL_IOMUX_FUN_RFDIG_JTAG_TMS 152   // 0x98
#define HAL_IOMUX_FUN_RFDIG_JTAG_TRST 153  // 0x99
#define HAL_IOMUX_FUN_RFFE_SCLK 154        // 0x9a
#define HAL_IOMUX_FUN_RFFE_SDATA 155       // 0x9b
#define HAL_IOMUX_FUN_SDMMC1_CLK 156       // 0x9c
#define HAL_IOMUX_FUN_SDMMC1_CMD 157       // 0x9d
#define HAL_IOMUX_FUN_SDMMC1_DATA_0 158    // 0x9e
#define HAL_IOMUX_FUN_SDMMC1_DATA_1 159    // 0x9f
#define HAL_IOMUX_FUN_SDMMC1_DATA_2 160    // 0xa0
#define HAL_IOMUX_FUN_SDMMC1_DATA_3 161    // 0xa1
#define HAL_IOMUX_FUN_SDMMC2_CLK 162       // 0xa2
#define HAL_IOMUX_FUN_SDMMC2_CMD 163       // 0xa3
#define HAL_IOMUX_FUN_SDMMC2_DATA_0 164    // 0xa4
#define HAL_IOMUX_FUN_SDMMC2_DATA_1 165    // 0xa5
#define HAL_IOMUX_FUN_SDMMC2_DATA_2 166    // 0xa6
#define HAL_IOMUX_FUN_SDMMC2_DATA_3 167    // 0xa7
#define HAL_IOMUX_FUN_SECURE_BOOT_MODE 168 // 0xa8
#define HAL_IOMUX_FUN_SIM_1_CLK 169        // 0xa9
#define HAL_IOMUX_FUN_SIM_1_DIO 170        // 0xaa
#define HAL_IOMUX_FUN_SIM_1_RST 171        // 0xab
#define HAL_IOMUX_FUN_SIM_2_CLK 172        // 0xac
#define HAL_IOMUX_FUN_SIM_2_DIO 173        // 0xad
#define HAL_IOMUX_FUN_SIM_2_RST 174        // 0xae
#define HAL_IOMUX_FUN_SPI_1_CLK 175        // 0xaf
#define HAL_IOMUX_FUN_SPI_1_CS_0 176       // 0xb0
#define HAL_IOMUX_FUN_SPI_1_CS_1 177       // 0xb1
#define HAL_IOMUX_FUN_SPI_1_DIO_0 178      // 0xb2
#define HAL_IOMUX_FUN_SPI_1_DI_1 179       // 0xb3
#define HAL_IOMUX_FUN_SPI_2_CLK 180        // 0xb4
#define HAL_IOMUX_FUN_SPI_2_CS_0 181       // 0xb5
#define HAL_IOMUX_FUN_SPI_2_CS_1 182       // 0xb6
#define HAL_IOMUX_FUN_SPI_2_DIO_0 183      // 0xb7
#define HAL_IOMUX_FUN_SPI_2_DI_1 184       // 0xb8
#define HAL_IOMUX_FUN_SPI_CAMERA_SCK 185   // 0xb9
#define HAL_IOMUX_FUN_SPI_CAMERA_SI_0 186  // 0xba
#define HAL_IOMUX_FUN_SPI_CAMERA_SI_1 187  // 0xbb
#define HAL_IOMUX_FUN_SPI_CAMERA_SSN 188   // 0xbc
#define HAL_IOMUX_FUN_SPI_FLASH1_CLK 189   // 0xbd
#define HAL_IOMUX_FUN_SPI_FLASH1_CS 190    // 0xbe
#define HAL_IOMUX_FUN_SPI_FLASH1_SIO_0 191 // 0xbf
#define HAL_IOMUX_FUN_SPI_FLASH1_SIO_1 192 // 0xc0
#define HAL_IOMUX_FUN_SPI_FLASH1_SIO_2 193 // 0xc1
#define HAL_IOMUX_FUN_SPI_FLASH1_SIO_3 194 // 0xc2
#define HAL_IOMUX_FUN_SPI_FLASH_CLK 195    // 0xc3
#define HAL_IOMUX_FUN_SPI_FLASH_CS 196     // 0xc4
#define HAL_IOMUX_FUN_SPI_FLASH_SEL 197    // 0xc5
#define HAL_IOMUX_FUN_SPI_FLASH_SIO_0 198  // 0xc6
#define HAL_IOMUX_FUN_SPI_FLASH_SIO_1 199  // 0xc7
#define HAL_IOMUX_FUN_SPI_FLASH_SIO_2 200  // 0xc8
#define HAL_IOMUX_FUN_SPI_FLASH_SIO_3 201  // 0xc9
#define HAL_IOMUX_FUN_SPI_LCD_CLK 202      // 0xca
#define HAL_IOMUX_FUN_SPI_LCD_CS 203       // 0xcb
#define HAL_IOMUX_FUN_SPI_LCD_SDC 204      // 0xcc
#define HAL_IOMUX_FUN_SPI_LCD_SELECT 205   // 0xcd
#define HAL_IOMUX_FUN_SPI_LCD_SIO 206      // 0xce
#define HAL_IOMUX_FUN_SPI_LVDS_CLK 207     // 0xcf
#define HAL_IOMUX_FUN_SPI_LVDS_CS 208      // 0xd0
#define HAL_IOMUX_FUN_SPI_LVDS_DI 209      // 0xd1
#define HAL_IOMUX_FUN_SPI_LVDS_DO 210      // 0xd2
#define HAL_IOMUX_FUN_UART_1_CTS 211       // 0xd3
#define HAL_IOMUX_FUN_UART_1_RTS 212       // 0xd4
#define HAL_IOMUX_FUN_UART_1_RXD 213       // 0xd5
#define HAL_IOMUX_FUN_UART_1_TXD 214       // 0xd6
#define HAL_IOMUX_FUN_UART_2_CTS 215       // 0xd7
#define HAL_IOMUX_FUN_UART_2_RTS 216       // 0xd8
#define HAL_IOMUX_FUN_UART_2_RXD 217       // 0xd9
#define HAL_IOMUX_FUN_UART_2_TXD 218       // 0xda
#define HAL_IOMUX_FUN_UART_3_CTS 219       // 0xdb
#define HAL_IOMUX_FUN_UART_3_RTS 220       // 0xdc
#define HAL_IOMUX_FUN_UART_3_RXD 221       // 0xdd
#define HAL_IOMUX_FUN_UART_3_TXD 222       // 0xde
#define HAL_IOMUX_FUN_UART_RXD_RF 223      // 0xdf
#define HAL_IOMUX_FUN_UART_TXD_RF 224      // 0xe0
#define HAL_IOMUX_FUN_WCN_HST_RXD 225      // 0xe1
#define HAL_IOMUX_FUN_WCN_HST_TXD 226      // 0xe2
#define HAL_IOMUX_FUN_WCN_JTAG_TCK 227     // 0xe3
#define HAL_IOMUX_FUN_WCN_JTAG_TDI 228     // 0xe4
#define HAL_IOMUX_FUN_WCN_JTAG_TDO 229     // 0xe5
#define HAL_IOMUX_FUN_WCN_JTAG_TMS 230     // 0xe6
#define HAL_IOMUX_FUN_WCN_JTAG_TRST 231    // 0xe7
#define HAL_IOMUX_FUN_WCN_UART_CTS 232     // 0xe8
#define HAL_IOMUX_FUN_WCN_UART_RTS 233     // 0xe9
#define HAL_IOMUX_FUN_WCN_UART_RXD 234     // 0xea
#define HAL_IOMUX_FUN_WCN_UART_TXD 235     // 0xeb
#define HAL_IOMUX_FUN_ZSP_JTAG_TCK 236     // 0xec
#define HAL_IOMUX_FUN_ZSP_JTAG_TDI 237     // 0xed
#define HAL_IOMUX_FUN_ZSP_JTAG_TDO 238     // 0xee
#define HAL_IOMUX_FUN_ZSP_JTAG_TMS 239     // 0xef
#define HAL_IOMUX_FUN_ZSP_JTAG_TRST 240    // 0xf0
#define HAL_IOMUX_FUN_ZSP_UART_CTS 241     // 0xf1
#define HAL_IOMUX_FUN_ZSP_UART_RTS 242     // 0xf2
#define HAL_IOMUX_FUN_ZSP_UART_RXD 243     // 0xf3
#define HAL_IOMUX_FUN_ZSP_UART_TXD 244     // 0xf4
#define HAL_IOMUX_FUN_COUNT 244

// all pads
#define HAL_IOMUX_PAD_ADI_SCL (1 << 12)           // 0x1
#define HAL_IOMUX_PAD_ADI_SDA (2 << 12)           // 0x2
#define HAL_IOMUX_PAD_ADI_SYNC (3 << 12)          // 0x3
#define HAL_IOMUX_PAD_AP_JTAG_TCK (4 << 12)       // 0x4
#define HAL_IOMUX_PAD_AP_JTAG_TDI (5 << 12)       // 0x5
#define HAL_IOMUX_PAD_AP_JTAG_TDO (6 << 12)       // 0x6
#define HAL_IOMUX_PAD_AP_JTAG_TMS (7 << 12)       // 0x7
#define HAL_IOMUX_PAD_AP_JTAG_TRST (8 << 12)      // 0x8
#define HAL_IOMUX_PAD_AUD_AD_D0 (9 << 12)         // 0x9
#define HAL_IOMUX_PAD_AUD_AD_SYNC (10 << 12)      // 0xa
#define HAL_IOMUX_PAD_AUD_DA_D0 (11 << 12)        // 0xb
#define HAL_IOMUX_PAD_AUD_DA_D1 (12 << 12)        // 0xc
#define HAL_IOMUX_PAD_AUD_DA_SYNC (13 << 12)      // 0xd
#define HAL_IOMUX_PAD_AUD_SCLK (14 << 12)         // 0xe
#define HAL_IOMUX_PAD_CAMERA_PWDN (15 << 12)      // 0xf
#define HAL_IOMUX_PAD_CAMERA_REF_CLK (16 << 12)   // 0x10
#define HAL_IOMUX_PAD_CAMERA_RST_L (17 << 12)     // 0x11
#define HAL_IOMUX_PAD_DEBUG_HOST_CLK (18 << 12)   // 0x12
#define HAL_IOMUX_PAD_DEBUG_HOST_RX (19 << 12)    // 0x13
#define HAL_IOMUX_PAD_DEBUG_HOST_TX (20 << 12)    // 0x14
#define HAL_IOMUX_PAD_GPIO_0 (21 << 12)           // 0x15
#define HAL_IOMUX_PAD_GPIO_1 (22 << 12)           // 0x16
#define HAL_IOMUX_PAD_GPIO_2 (23 << 12)           // 0x17
#define HAL_IOMUX_PAD_GPIO_3 (24 << 12)           // 0x18
#define HAL_IOMUX_PAD_GPIO_4 (25 << 12)           // 0x19
#define HAL_IOMUX_PAD_GPIO_5 (26 << 12)           // 0x1a
#define HAL_IOMUX_PAD_GPIO_6 (27 << 12)           // 0x1b
#define HAL_IOMUX_PAD_GPIO_7 (28 << 12)           // 0x1c
#define HAL_IOMUX_PAD_GPIO_8 (29 << 12)           // 0x1d
#define HAL_IOMUX_PAD_GPIO_9 (30 << 12)           // 0x1e
#define HAL_IOMUX_PAD_GPIO_10 (31 << 12)          // 0x1f
#define HAL_IOMUX_PAD_GPIO_11 (32 << 12)          // 0x20
#define HAL_IOMUX_PAD_GPIO_12 (33 << 12)          // 0x21
#define HAL_IOMUX_PAD_GPIO_13 (34 << 12)          // 0x22
#define HAL_IOMUX_PAD_GPIO_14 (35 << 12)          // 0x23
#define HAL_IOMUX_PAD_GPIO_15 (36 << 12)          // 0x24
#define HAL_IOMUX_PAD_GPIO_18 (37 << 12)          // 0x25
#define HAL_IOMUX_PAD_GPIO_19 (38 << 12)          // 0x26
#define HAL_IOMUX_PAD_GPIO_20 (39 << 12)          // 0x27
#define HAL_IOMUX_PAD_GPIO_21 (40 << 12)          // 0x28
#define HAL_IOMUX_PAD_GPIO_22 (41 << 12)          // 0x29
#define HAL_IOMUX_PAD_GPIO_23 (42 << 12)          // 0x2a
#define HAL_IOMUX_PAD_I2C_M1_SCL (43 << 12)       // 0x2b
#define HAL_IOMUX_PAD_I2C_M1_SDA (44 << 12)       // 0x2c
#define HAL_IOMUX_PAD_KEYIN_0 (45 << 12)          // 0x2d
#define HAL_IOMUX_PAD_KEYIN_1 (46 << 12)          // 0x2e
#define HAL_IOMUX_PAD_KEYIN_2 (47 << 12)          // 0x2f
#define HAL_IOMUX_PAD_KEYIN_3 (48 << 12)          // 0x30
#define HAL_IOMUX_PAD_KEYIN_4 (49 << 12)          // 0x31
#define HAL_IOMUX_PAD_KEYIN_5 (50 << 12)          // 0x32
#define HAL_IOMUX_PAD_KEYOUT_0 (51 << 12)         // 0x33
#define HAL_IOMUX_PAD_KEYOUT_1 (52 << 12)         // 0x34
#define HAL_IOMUX_PAD_KEYOUT_2 (53 << 12)         // 0x35
#define HAL_IOMUX_PAD_KEYOUT_3 (54 << 12)         // 0x36
#define HAL_IOMUX_PAD_KEYOUT_4 (55 << 12)         // 0x37
#define HAL_IOMUX_PAD_KEYOUT_5 (56 << 12)         // 0x38
#define HAL_IOMUX_PAD_LCD_FMARK (57 << 12)        // 0x39
#define HAL_IOMUX_PAD_LCD_RSTB (58 << 12)         // 0x3a
#define HAL_IOMUX_PAD_NAND_FLASH_SEL (59 << 12)   // 0x3b
#define HAL_IOMUX_PAD_RFDIG_GPIO_0 (60 << 12)     // 0x3c
#define HAL_IOMUX_PAD_RFDIG_GPIO_1 (61 << 12)     // 0x3d
#define HAL_IOMUX_PAD_RFDIG_GPIO_2 (62 << 12)     // 0x3e
#define HAL_IOMUX_PAD_RFDIG_GPIO_3 (63 << 12)     // 0x3f
#define HAL_IOMUX_PAD_RFDIG_GPIO_4 (64 << 12)     // 0x40
#define HAL_IOMUX_PAD_RFDIG_GPIO_5 (65 << 12)     // 0x41
#define HAL_IOMUX_PAD_RFDIG_GPIO_6 (66 << 12)     // 0x42
#define HAL_IOMUX_PAD_RFDIG_GPIO_7 (67 << 12)     // 0x43
#define HAL_IOMUX_PAD_SDMMC1_CLK (68 << 12)       // 0x44
#define HAL_IOMUX_PAD_SDMMC1_CMD (69 << 12)       // 0x45
#define HAL_IOMUX_PAD_SDMMC1_DATA_0 (70 << 12)    // 0x46
#define HAL_IOMUX_PAD_SDMMC1_DATA_1 (71 << 12)    // 0x47
#define HAL_IOMUX_PAD_SDMMC1_DATA_2 (72 << 12)    // 0x48
#define HAL_IOMUX_PAD_SDMMC1_DATA_3 (73 << 12)    // 0x49
#define HAL_IOMUX_PAD_SECURE_BOOT_MODE (74 << 12) // 0x4a
#define HAL_IOMUX_PAD_SIM_1_CLK (75 << 12)        // 0x4b
#define HAL_IOMUX_PAD_SIM_1_DIO (76 << 12)        // 0x4c
#define HAL_IOMUX_PAD_SIM_1_RST (77 << 12)        // 0x4d
#define HAL_IOMUX_PAD_SIM_2_CLK (78 << 12)        // 0x4e
#define HAL_IOMUX_PAD_SIM_2_DIO (79 << 12)        // 0x4f
#define HAL_IOMUX_PAD_SIM_2_RST (80 << 12)        // 0x50
#define HAL_IOMUX_PAD_SPI_CAMERA_SCK (81 << 12)   // 0x51
#define HAL_IOMUX_PAD_SPI_CAMERA_SI_0 (82 << 12)  // 0x52
#define HAL_IOMUX_PAD_SPI_CAMERA_SI_1 (83 << 12)  // 0x53
#define HAL_IOMUX_PAD_SPI_FLASH_CLK (84 << 12)    // 0x54
#define HAL_IOMUX_PAD_SPI_FLASH_CS (85 << 12)     // 0x55
#define HAL_IOMUX_PAD_SPI_FLASH_SEL (86 << 12)    // 0x56
#define HAL_IOMUX_PAD_SPI_FLASH_SIO_0 (87 << 12)  // 0x57
#define HAL_IOMUX_PAD_SPI_FLASH_SIO_1 (88 << 12)  // 0x58
#define HAL_IOMUX_PAD_SPI_FLASH_SIO_2 (89 << 12)  // 0x59
#define HAL_IOMUX_PAD_SPI_FLASH_SIO_3 (90 << 12)  // 0x5a
#define HAL_IOMUX_PAD_SPI_LCD_CLK (91 << 12)      // 0x5b
#define HAL_IOMUX_PAD_SPI_LCD_CS (92 << 12)       // 0x5c
#define HAL_IOMUX_PAD_SPI_LCD_SDC (93 << 12)      // 0x5d
#define HAL_IOMUX_PAD_SPI_LCD_SELECT (94 << 12)   // 0x5e
#define HAL_IOMUX_PAD_SPI_LCD_SIO (95 << 12)      // 0x5f
#define HAL_IOMUX_PAD_UART_1_RXD (96 << 12)       // 0x60
#define HAL_IOMUX_PAD_UART_1_TXD (97 << 12)       // 0x61
#define HAL_IOMUX_PAD_COUNT 97

// function with specified pad
#define HAL_IOMUX_FUN_ADI_SCL_PAD_ADI_SCL 0x1001
#define HAL_IOMUX_FUN_ADI_SDA_PAD_ADI_SDA 0x2002
#define HAL_IOMUX_FUN_ADI_SYNC_PAD_ADI_SYNC 0x3003
#define HAL_IOMUX_FUN_AP_JTAG_TCK_PAD_AP_JTAG_TCK 0x4004
#define HAL_IOMUX_FUN_AP_JTAG_TDI_PAD_AP_JTAG_TDI 0x5005
#define HAL_IOMUX_FUN_AP_JTAG_TDO_PAD_AP_JTAG_TDO 0x6006
#define HAL_IOMUX_FUN_AP_JTAG_TMS_PAD_AP_JTAG_TMS 0x7007
#define HAL_IOMUX_FUN_AP_JTAG_TRST_PAD_AP_JTAG_TRST 0x8008
#define HAL_IOMUX_FUN_AUD_AD_D0_PAD_AUD_AD_D0 0x9009
#define HAL_IOMUX_FUN_AUD_AD_SYNC_PAD_AUD_AD_SYNC 0xa00a
#define HAL_IOMUX_FUN_AUD_DA_D0_PAD_AUD_DA_D0 0xb00b
#define HAL_IOMUX_FUN_AUD_DA_D1_PAD_AUD_DA_D1 0xc00c
#define HAL_IOMUX_FUN_AUD_DA_SYNC_PAD_AUD_DA_SYNC 0xd00d
#define HAL_IOMUX_FUN_AUD_SCLK_PAD_AUD_SCLK 0xe00e
#define HAL_IOMUX_FUN_CAMERA_PWDN_PAD_CAMERA_PWDN 0xf00f
#define HAL_IOMUX_FUN_CAMERA_PWDN_PAD_SDMMC1_DATA_0 0x204600f
#define HAL_IOMUX_FUN_CAMERA_REF_CLK_PAD_CAMERA_REF_CLK 0x10010
#define HAL_IOMUX_FUN_CAMERA_REF_CLK_PAD_SDMMC1_CLK 0x2044010
#define HAL_IOMUX_FUN_CAMERA_RST_L_PAD_CAMERA_RST_L 0x11011
#define HAL_IOMUX_FUN_CAMERA_RST_L_PAD_SDMMC1_CMD 0x2045011
#define HAL_IOMUX_FUN_DEBUG_BUS_0_PAD_GPIO_1 0x7016012
#define HAL_IOMUX_FUN_DEBUG_BUS_0_PAD_I2C_M1_SCL 0x702b012
#define HAL_IOMUX_FUN_DEBUG_BUS_1_PAD_GPIO_2 0x7017013
#define HAL_IOMUX_FUN_DEBUG_BUS_1_PAD_I2C_M1_SDA 0x702c013
#define HAL_IOMUX_FUN_DEBUG_BUS_2_PAD_CAMERA_RST_L 0x7011014
#define HAL_IOMUX_FUN_DEBUG_BUS_2_PAD_GPIO_3 0x7018014
#define HAL_IOMUX_FUN_DEBUG_BUS_3_PAD_CAMERA_PWDN 0x700f015
#define HAL_IOMUX_FUN_DEBUG_BUS_3_PAD_GPIO_4 0x7019015
#define HAL_IOMUX_FUN_DEBUG_BUS_4_PAD_CAMERA_REF_CLK 0x7010016
#define HAL_IOMUX_FUN_DEBUG_BUS_4_PAD_GPIO_5 0x701a016
#define HAL_IOMUX_FUN_DEBUG_BUS_5_PAD_SPI_CAMERA_SI_0 0x7052017
#define HAL_IOMUX_FUN_DEBUG_BUS_5_PAD_SPI_LCD_SIO 0x705f017
#define HAL_IOMUX_FUN_DEBUG_BUS_6_PAD_SPI_CAMERA_SI_1 0x7053018
#define HAL_IOMUX_FUN_DEBUG_BUS_6_PAD_SPI_LCD_SDC 0x705d018
#define HAL_IOMUX_FUN_DEBUG_BUS_7_PAD_SPI_CAMERA_SCK 0x7051019
#define HAL_IOMUX_FUN_DEBUG_BUS_7_PAD_SPI_LCD_CLK 0x705b019
#define HAL_IOMUX_FUN_DEBUG_BUS_8_PAD_KEYIN_0 0x702d01a
#define HAL_IOMUX_FUN_DEBUG_BUS_8_PAD_SPI_LCD_CS 0x705c01a
#define HAL_IOMUX_FUN_DEBUG_BUS_9_PAD_KEYIN_1 0x702e01b
#define HAL_IOMUX_FUN_DEBUG_BUS_9_PAD_SPI_LCD_SELECT 0x705e01b
#define HAL_IOMUX_FUN_DEBUG_BUS_10_PAD_KEYIN_2 0x702f01c
#define HAL_IOMUX_FUN_DEBUG_BUS_10_PAD_LCD_FMARK 0x703901c
#define HAL_IOMUX_FUN_DEBUG_BUS_11_PAD_KEYIN_3 0x703001d
#define HAL_IOMUX_FUN_DEBUG_BUS_11_PAD_LCD_RSTB 0x703a01d
#define HAL_IOMUX_FUN_DEBUG_BUS_12_PAD_GPIO_20 0x702701e
#define HAL_IOMUX_FUN_DEBUG_BUS_12_PAD_KEYIN_4 0x703101e
#define HAL_IOMUX_FUN_DEBUG_BUS_13_PAD_GPIO_21 0x702801f
#define HAL_IOMUX_FUN_DEBUG_BUS_13_PAD_KEYIN_5 0x703201f
#define HAL_IOMUX_FUN_DEBUG_BUS_14_PAD_GPIO_22 0x7029020
#define HAL_IOMUX_FUN_DEBUG_BUS_14_PAD_KEYOUT_0 0x7033020
#define HAL_IOMUX_FUN_DEBUG_BUS_15_PAD_GPIO_23 0x702a021
#define HAL_IOMUX_FUN_DEBUG_BUS_15_PAD_KEYOUT_1 0x7034021
#define HAL_IOMUX_FUN_DEBUG_CLK_PAD_GPIO_0 0x7015022
#define HAL_IOMUX_FUN_DEBUG_CLK_PAD_KEYOUT_2 0x7035022
#define HAL_IOMUX_FUN_DEBUG_HOST_CLK_PAD_DEBUG_HOST_CLK 0x12023
#define HAL_IOMUX_FUN_DEBUG_HOST_RX_PAD_DEBUG_HOST_RX 0x13024
#define HAL_IOMUX_FUN_DEBUG_HOST_TX_PAD_DEBUG_HOST_TX 0x14025
#define HAL_IOMUX_FUN_DFE_RX_ENABLE_M_I_PAD_RFDIG_GPIO_2 0x503e026
#define HAL_IOMUX_FUN_DFE_RX_ENABLE_S_O_PAD_RFDIG_GPIO_2 0x703e027
#define HAL_IOMUX_FUN_DIGRF_CP_26M_M_O_PAD_RFDIG_GPIO_3 0x503f028
#define HAL_IOMUX_FUN_DIGRF_CP_26M_S_I_PAD_RFDIG_GPIO_3 0x703f029
#define HAL_IOMUX_FUN_DIGRF_RX_DATA_M_O_PAD_RFDIG_GPIO_7 0x504302a
#define HAL_IOMUX_FUN_DIGRF_RX_DATA_S_I_PAD_RFDIG_GPIO_7 0x704302b
#define HAL_IOMUX_FUN_DIGRF_RX_EN_M_O_PAD_RFDIG_GPIO_6 0x504202c
#define HAL_IOMUX_FUN_DIGRF_RX_EN_S_I_PAD_RFDIG_GPIO_6 0x704202d
#define HAL_IOMUX_FUN_DIGRF_STROBE_M_I_PAD_GPIO_8 0x501d02e
#define HAL_IOMUX_FUN_DIGRF_STROBE_S_O_PAD_GPIO_8 0x701d02f
#define HAL_IOMUX_FUN_DIGRF_TX_DATA_M_I_PAD_RFDIG_GPIO_5 0x5041030
#define HAL_IOMUX_FUN_DIGRF_TX_DATA_S_O_PAD_RFDIG_GPIO_5 0x7041031
#define HAL_IOMUX_FUN_DIGRF_TX_EN_M_I_PAD_RFDIG_GPIO_4 0x5040032
#define HAL_IOMUX_FUN_DIGRF_TX_EN_S_O_PAD_RFDIG_GPIO_4 0x7040033
#define HAL_IOMUX_FUN_GPIO_0_PAD_GPIO_0 0x15034
#define HAL_IOMUX_FUN_GPIO_0_PAD_SPI_LCD_SIO 0x105f034
#define HAL_IOMUX_FUN_GPIO_1_PAD_GPIO_1 0x16035
#define HAL_IOMUX_FUN_GPIO_1_PAD_SPI_LCD_SDC 0x105d035
#define HAL_IOMUX_FUN_GPIO_2_PAD_GPIO_2 0x17036
#define HAL_IOMUX_FUN_GPIO_2_PAD_SPI_LCD_CLK 0x105b036
#define HAL_IOMUX_FUN_GPIO_3_PAD_GPIO_3 0x18037
#define HAL_IOMUX_FUN_GPIO_3_PAD_SPI_LCD_CS 0x105c037
#define HAL_IOMUX_FUN_GPIO_4_PAD_GPIO_4 0x19038
#define HAL_IOMUX_FUN_GPIO_4_PAD_SPI_LCD_SELECT 0x105e038
#define HAL_IOMUX_FUN_GPIO_5_PAD_GPIO_5 0x1a039
#define HAL_IOMUX_FUN_GPIO_5_PAD_LCD_FMARK 0x1039039
#define HAL_IOMUX_FUN_GPIO_6_PAD_GPIO_6 0x1b03a
#define HAL_IOMUX_FUN_GPIO_6_PAD_LCD_RSTB 0x103a03a
#define HAL_IOMUX_FUN_GPIO_7_PAD_GPIO_7 0x1c03b
#define HAL_IOMUX_FUN_GPIO_8_PAD_AP_JTAG_TCK 0x500403c
#define HAL_IOMUX_FUN_GPIO_8_PAD_GPIO_8 0x1d03c
#define HAL_IOMUX_FUN_GPIO_9_PAD_AP_JTAG_TRST 0x500803d
#define HAL_IOMUX_FUN_GPIO_9_PAD_GPIO_9 0x1e03d
#define HAL_IOMUX_FUN_GPIO_10_PAD_AP_JTAG_TMS 0x500703e
#define HAL_IOMUX_FUN_GPIO_10_PAD_GPIO_10 0x1f03e
#define HAL_IOMUX_FUN_GPIO_11_PAD_AP_JTAG_TDI 0x500503f
#define HAL_IOMUX_FUN_GPIO_11_PAD_GPIO_11 0x2003f
#define HAL_IOMUX_FUN_GPIO_12_PAD_AP_JTAG_TDO 0x5006040
#define HAL_IOMUX_FUN_GPIO_12_PAD_GPIO_12 0x21040
#define HAL_IOMUX_FUN_GPIO_13_PAD_GPIO_13 0x22041
#define HAL_IOMUX_FUN_GPIO_14_PAD_GPIO_14 0x23042
#define HAL_IOMUX_FUN_GPIO_15_PAD_GPIO_15 0x24043
#define HAL_IOMUX_FUN_GPIO_16_PAD_DEBUG_HOST_RX 0x1013044
#define HAL_IOMUX_FUN_GPIO_16_PAD_I2C_M1_SCL 0x402b044
#define HAL_IOMUX_FUN_GPIO_17_PAD_DEBUG_HOST_CLK 0x1012045
#define HAL_IOMUX_FUN_GPIO_17_PAD_I2C_M1_SDA 0x402c045
#define HAL_IOMUX_FUN_GPIO_18_PAD_CAMERA_RST_L 0x4011046
#define HAL_IOMUX_FUN_GPIO_18_PAD_GPIO_18 0x25046
#define HAL_IOMUX_FUN_GPIO_19_PAD_CAMERA_PWDN 0x400f047
#define HAL_IOMUX_FUN_GPIO_19_PAD_GPIO_19 0x26047
#define HAL_IOMUX_FUN_GPIO_20_PAD_CAMERA_REF_CLK 0x4010048
#define HAL_IOMUX_FUN_GPIO_20_PAD_GPIO_20 0x27048
#define HAL_IOMUX_FUN_GPIO_21_PAD_GPIO_21 0x28049
#define HAL_IOMUX_FUN_GPIO_21_PAD_SPI_CAMERA_SI_0 0x4052049
#define HAL_IOMUX_FUN_GPIO_22_PAD_GPIO_22 0x2904a
#define HAL_IOMUX_FUN_GPIO_22_PAD_SPI_CAMERA_SI_1 0x405304a
#define HAL_IOMUX_FUN_GPIO_23_PAD_GPIO_23 0x2a04b
#define HAL_IOMUX_FUN_GPIO_23_PAD_SPI_CAMERA_SCK 0x405104b
#define HAL_IOMUX_FUN_GPIO_24_PAD_SDMMC1_CMD 0x104504c
#define HAL_IOMUX_FUN_GPIO_25_PAD_SDMMC1_DATA_0 0x104604d
#define HAL_IOMUX_FUN_GPIO_26_PAD_SDMMC1_DATA_1 0x104704e
#define HAL_IOMUX_FUN_GPIO_27_PAD_AUD_DA_SYNC 0x200d04f
#define HAL_IOMUX_FUN_GPIO_27_PAD_SDMMC1_DATA_2 0x104804f
#define HAL_IOMUX_FUN_GPIO_28_PAD_AUD_DA_D1 0x200c050
#define HAL_IOMUX_FUN_GPIO_28_PAD_SDMMC1_DATA_3 0x1049050
#define HAL_IOMUX_FUN_GPIO_29_PAD_AUD_DA_D0 0x200b051
#define HAL_IOMUX_FUN_GPIO_29_PAD_SIM_2_CLK 0x204e051
#define HAL_IOMUX_FUN_GPIO_29_PAD_SPI_FLASH_SIO_1 0x1058051
#define HAL_IOMUX_FUN_GPIO_30_PAD_AUD_AD_SYNC 0x200a052
#define HAL_IOMUX_FUN_GPIO_30_PAD_SIM_2_DIO 0x204f052
#define HAL_IOMUX_FUN_GPIO_30_PAD_SPI_FLASH_SIO_2 0x1059052
#define HAL_IOMUX_FUN_GPIO_31_PAD_AUD_AD_D0 0x2009053
#define HAL_IOMUX_FUN_GPIO_31_PAD_SIM_2_RST 0x2050053
#define HAL_IOMUX_FUN_GPIO_31_PAD_SPI_FLASH_SIO_3 0x105a053
#define HAL_IOMUX_FUN_GPO_0_PAD_GPIO_8 0x601d054
#define HAL_IOMUX_FUN_GPO_1_PAD_GPIO_9 0x601e055
#define HAL_IOMUX_FUN_GPO_2_PAD_GPIO_10 0x601f056
#define HAL_IOMUX_FUN_GPO_3_PAD_GPIO_11 0x6020057
#define HAL_IOMUX_FUN_GPO_4_PAD_GPIO_12 0x6021058
#define HAL_IOMUX_FUN_GPO_5_PAD_SIM_2_CLK 0x104e059
#define HAL_IOMUX_FUN_GPO_6_PAD_SIM_2_DIO 0x104f05a
#define HAL_IOMUX_FUN_GPO_7_PAD_SIM_2_RST 0x105005b
#define HAL_IOMUX_FUN_I2C_M1_SCL_PAD_CAMERA_RST_L 0x101105c
#define HAL_IOMUX_FUN_I2C_M1_SCL_PAD_I2C_M1_SCL 0x2b05c
#define HAL_IOMUX_FUN_I2C_M1_SDA_PAD_CAMERA_PWDN 0x100f05d
#define HAL_IOMUX_FUN_I2C_M1_SDA_PAD_I2C_M1_SDA 0x2c05d
#define HAL_IOMUX_FUN_I2C_M2_SCL_PAD_GPIO_14 0x102305e
#define HAL_IOMUX_FUN_I2C_M2_SDA_PAD_GPIO_15 0x102405f
#define HAL_IOMUX_FUN_I2C_M3_SCL_PAD_GPIO_4 0x6019060
#define HAL_IOMUX_FUN_I2C_M3_SCL_PAD_LCD_RSTB 0x303a060
#define HAL_IOMUX_FUN_I2C_M3_SCL_PAD_SDMMC1_CMD 0x3045060
#define HAL_IOMUX_FUN_I2C_M3_SDA_PAD_GPIO_5 0x601a061
#define HAL_IOMUX_FUN_I2C_M3_SDA_PAD_SDMMC1_DATA_0 0x3046061
#define HAL_IOMUX_FUN_I2C_M3_SDA_PAD_SPI_LCD_SDC 0x305d061
#define HAL_IOMUX_FUN_I2S1_BCK_PAD_AUD_DA_SYNC 0x100d062
#define HAL_IOMUX_FUN_I2S1_LRCK_PAD_AUD_DA_D1 0x100c063
#define HAL_IOMUX_FUN_I2S1_SDAT_I_PAD_AUD_DA_D0 0x100b064
#define HAL_IOMUX_FUN_I2S1_SDAT_O_PAD_AUD_AD_SYNC 0x100a065
#define HAL_IOMUX_FUN_I2S2_BCK_PAD_GPIO_0 0x3015066
#define HAL_IOMUX_FUN_I2S2_LRCK_PAD_GPIO_1 0x3016067
#define HAL_IOMUX_FUN_I2S2_SDAT_I_PAD_GPIO_2 0x3017068
#define HAL_IOMUX_FUN_I2S2_SDAT_O_PAD_GPIO_3 0x3018069
#define HAL_IOMUX_FUN_KEYIN_0_PAD_KEYIN_0 0x2d06a
#define HAL_IOMUX_FUN_KEYIN_1_PAD_KEYIN_1 0x2e06b
#define HAL_IOMUX_FUN_KEYIN_2_PAD_KEYIN_2 0x2f06c
#define HAL_IOMUX_FUN_KEYIN_3_PAD_KEYIN_3 0x3006d
#define HAL_IOMUX_FUN_KEYIN_4_PAD_KEYIN_4 0x3106e
#define HAL_IOMUX_FUN_KEYIN_5_PAD_KEYIN_5 0x3206f
#define HAL_IOMUX_FUN_KEYOUT_0_PAD_KEYOUT_0 0x33070
#define HAL_IOMUX_FUN_KEYOUT_1_PAD_KEYOUT_1 0x34071
#define HAL_IOMUX_FUN_KEYOUT_2_PAD_KEYOUT_2 0x35072
#define HAL_IOMUX_FUN_KEYOUT_3_PAD_KEYOUT_3 0x36073
#define HAL_IOMUX_FUN_KEYOUT_4_PAD_KEYOUT_4 0x37074
#define HAL_IOMUX_FUN_KEYOUT_5_PAD_KEYOUT_5 0x38075
#define HAL_IOMUX_FUN_LCD_FMARK_PAD_GPIO_5 0x301a076
#define HAL_IOMUX_FUN_LCD_FMARK_PAD_LCD_FMARK 0x39076
#define HAL_IOMUX_FUN_LCD_RSTB_PAD_LCD_RSTB 0x3a077
#define HAL_IOMUX_FUN_LTE_GPO_0_PAD_RFDIG_GPIO_0 0x203c078
#define HAL_IOMUX_FUN_LTE_GPO_1_PAD_RFDIG_GPIO_1 0x203d079
#define HAL_IOMUX_FUN_LTE_GPO_2_PAD_RFDIG_GPIO_2 0x203e07a
#define HAL_IOMUX_FUN_LTE_GPO_3_PAD_RFDIG_GPIO_3 0x203f07b
#define HAL_IOMUX_FUN_LTE_GPO_4_PAD_RFDIG_GPIO_4 0x204007c
#define HAL_IOMUX_FUN_LTE_GPO_5_PAD_RFDIG_GPIO_5 0x204107d
#define HAL_IOMUX_FUN_LTE_GPO_6_PAD_GPIO_8 0x301d07e
#define HAL_IOMUX_FUN_LTE_GPO_7_PAD_RFDIG_GPIO_6 0x204207f
#define HAL_IOMUX_FUN_LTE_GPO_8_PAD_RFDIG_GPIO_7 0x2043080
#define HAL_IOMUX_FUN_LTE_GPO_9_PAD_GPIO_9 0x301e081
#define HAL_IOMUX_FUN_LTE_SPI_CS_PAD_GPIO_10 0x201f082
#define HAL_IOMUX_FUN_LTE_SPI_SCLK_PAD_GPIO_11 0x2020083
#define HAL_IOMUX_FUN_LTE_SPI_SDIO_PAD_GPIO_12 0x2021084
#define HAL_IOMUX_FUN_LTE_SPI_SDO_PAD_GPIO_9 0x401e085
#define HAL_IOMUX_FUN_NAND_FLASH_SEL_PAD_NAND_FLASH_SEL 0x3b086
#define HAL_IOMUX_FUN_PWL_OUT_0_PAD_GPIO_4 0x3019087
#define HAL_IOMUX_FUN_PWL_OUT_1_PAD_GPIO_7 0x301c088
#define HAL_IOMUX_FUN_PWM_LPG_OUT_PAD_GPIO_13 0x1022089
#define HAL_IOMUX_FUN_PWT_OUT_PAD_GPIO_5 0x201a08a
#define HAL_IOMUX_FUN_RFDIG_GPIO_0_PAD_RFDIG_GPIO_0 0x3c08b
#define HAL_IOMUX_FUN_RFDIG_GPIO_1_PAD_RFDIG_GPIO_1 0x3d08c
#define HAL_IOMUX_FUN_RFDIG_GPIO_2_PAD_RFDIG_GPIO_2 0x3e08d
#define HAL_IOMUX_FUN_RFDIG_GPIO_3_PAD_RFDIG_GPIO_3 0x3f08e
#define HAL_IOMUX_FUN_RFDIG_GPIO_4_PAD_RFDIG_GPIO_4 0x4008f
#define HAL_IOMUX_FUN_RFDIG_GPIO_5_PAD_RFDIG_GPIO_5 0x41090
#define HAL_IOMUX_FUN_RFDIG_GPIO_6_PAD_RFDIG_GPIO_6 0x42091
#define HAL_IOMUX_FUN_RFDIG_GPIO_7_PAD_RFDIG_GPIO_7 0x43092
#define HAL_IOMUX_FUN_RFDIG_GPIO_8_PAD_GPIO_8 0x201d093
#define HAL_IOMUX_FUN_RFDIG_GPIO_9_PAD_GPIO_9 0x201e094
#define HAL_IOMUX_FUN_RFDIG_JTAG_TCK_PAD_AP_JTAG_TCK 0x4004095
#define HAL_IOMUX_FUN_RFDIG_JTAG_TDI_PAD_AP_JTAG_TDI 0x4005096
#define HAL_IOMUX_FUN_RFDIG_JTAG_TDO_PAD_AP_JTAG_TDO 0x4006097
#define HAL_IOMUX_FUN_RFDIG_JTAG_TMS_PAD_AP_JTAG_TMS 0x4007098
#define HAL_IOMUX_FUN_RFDIG_JTAG_TRST_PAD_AP_JTAG_TRST 0x4008099
#define HAL_IOMUX_FUN_RFFE_SCLK_PAD_RFDIG_GPIO_0 0x103c09a
#define HAL_IOMUX_FUN_RFFE_SDATA_PAD_RFDIG_GPIO_1 0x103d09b
#define HAL_IOMUX_FUN_SDMMC1_CLK_PAD_SDMMC1_CLK 0x4409c
#define HAL_IOMUX_FUN_SDMMC1_CMD_PAD_SDMMC1_CMD 0x4509d
#define HAL_IOMUX_FUN_SDMMC1_DATA_0_PAD_SDMMC1_DATA_0 0x4609e
#define HAL_IOMUX_FUN_SDMMC1_DATA_1_PAD_SDMMC1_DATA_1 0x4709f
#define HAL_IOMUX_FUN_SDMMC1_DATA_2_PAD_SDMMC1_DATA_2 0x480a0
#define HAL_IOMUX_FUN_SDMMC1_DATA_3_PAD_SDMMC1_DATA_3 0x490a1
#define HAL_IOMUX_FUN_SDMMC2_CLK_PAD_GPIO_7 0x101c0a2
#define HAL_IOMUX_FUN_SDMMC2_CMD_PAD_AP_JTAG_TCK 0x10040a3
#define HAL_IOMUX_FUN_SDMMC2_DATA_0_PAD_AP_JTAG_TRST 0x10080a4
#define HAL_IOMUX_FUN_SDMMC2_DATA_1_PAD_AP_JTAG_TMS 0x10070a5
#define HAL_IOMUX_FUN_SDMMC2_DATA_2_PAD_AP_JTAG_TDI 0x10050a6
#define HAL_IOMUX_FUN_SDMMC2_DATA_3_PAD_AP_JTAG_TDO 0x10060a7
#define HAL_IOMUX_FUN_SECURE_BOOT_MODE_PAD_SECURE_BOOT_MODE 0x4a0a8
#define HAL_IOMUX_FUN_SIM_1_CLK_PAD_SIM_1_CLK 0x4b0a9
#define HAL_IOMUX_FUN_SIM_1_DIO_PAD_SIM_1_DIO 0x4c0aa
#define HAL_IOMUX_FUN_SIM_1_RST_PAD_SIM_1_RST 0x4d0ab
#define HAL_IOMUX_FUN_SIM_2_CLK_PAD_SIM_2_CLK 0x4e0ac
#define HAL_IOMUX_FUN_SIM_2_DIO_PAD_SIM_2_DIO 0x4f0ad
#define HAL_IOMUX_FUN_SIM_2_RST_PAD_SIM_2_RST 0x500ae
#define HAL_IOMUX_FUN_SPI_1_CLK_PAD_GPIO_7 0x201c0af
#define HAL_IOMUX_FUN_SPI_1_CLK_PAD_GPIO_9 0x101e0af
#define HAL_IOMUX_FUN_SPI_1_CS_0_PAD_AP_JTAG_TCK 0x20040b0
#define HAL_IOMUX_FUN_SPI_1_CS_0_PAD_GPIO_10 0x101f0b0
#define HAL_IOMUX_FUN_SPI_1_CS_1_PAD_AP_JTAG_TDI 0x20050b1
#define HAL_IOMUX_FUN_SPI_1_CS_1_PAD_GPIO_8 0x101d0b1
#define HAL_IOMUX_FUN_SPI_1_DIO_0_PAD_AP_JTAG_TRST 0x20080b2
#define HAL_IOMUX_FUN_SPI_1_DIO_0_PAD_GPIO_11 0x10200b2
#define HAL_IOMUX_FUN_SPI_1_DI_1_PAD_AP_JTAG_TMS 0x20070b3
#define HAL_IOMUX_FUN_SPI_1_DI_1_PAD_GPIO_12 0x10210b3
#define HAL_IOMUX_FUN_SPI_2_CLK_PAD_GPIO_0 0x20150b4
#define HAL_IOMUX_FUN_SPI_2_CLK_PAD_SDMMC1_DATA_1 0x70470b4
#define HAL_IOMUX_FUN_SPI_2_CS_0_PAD_GPIO_1 0x20160b5
#define HAL_IOMUX_FUN_SPI_2_CS_0_PAD_SDMMC1_CLK 0x70440b5
#define HAL_IOMUX_FUN_SPI_2_CS_1_PAD_GPIO_4 0x20190b6
#define HAL_IOMUX_FUN_SPI_2_DIO_0_PAD_GPIO_2 0x20170b7
#define HAL_IOMUX_FUN_SPI_2_DIO_0_PAD_SDMMC1_DATA_2 0x70480b7
#define HAL_IOMUX_FUN_SPI_2_DI_1_PAD_GPIO_3 0x20180b8
#define HAL_IOMUX_FUN_SPI_2_DI_1_PAD_SDMMC1_DATA_3 0x70490b8
#define HAL_IOMUX_FUN_SPI_CAMERA_SCK_PAD_SDMMC1_DATA_3 0x20490b9
#define HAL_IOMUX_FUN_SPI_CAMERA_SCK_PAD_SPI_CAMERA_SCK 0x510b9
#define HAL_IOMUX_FUN_SPI_CAMERA_SI_0_PAD_SDMMC1_DATA_1 0x20470ba
#define HAL_IOMUX_FUN_SPI_CAMERA_SI_0_PAD_SDMMC1_DATA_2 0x30480ba
#define HAL_IOMUX_FUN_SPI_CAMERA_SI_0_PAD_SPI_CAMERA_SI_0 0x520ba
#define HAL_IOMUX_FUN_SPI_CAMERA_SI_0_PAD_SPI_CAMERA_SI_1 0x10530ba
#define HAL_IOMUX_FUN_SPI_CAMERA_SI_1_PAD_SDMMC1_DATA_1 0x30470bb
#define HAL_IOMUX_FUN_SPI_CAMERA_SI_1_PAD_SDMMC1_DATA_2 0x20480bb
#define HAL_IOMUX_FUN_SPI_CAMERA_SI_1_PAD_SPI_CAMERA_SI_0 0x10520bb
#define HAL_IOMUX_FUN_SPI_CAMERA_SI_1_PAD_SPI_CAMERA_SI_1 0x530bb
#define HAL_IOMUX_FUN_SPI_CAMERA_SSN_PAD_SDMMC1_DATA_2 0x40480bc
#define HAL_IOMUX_FUN_SPI_CAMERA_SSN_PAD_SPI_CAMERA_SI_1 0x20530bc
#define HAL_IOMUX_FUN_SPI_FLASH1_CLK_PAD_GPIO_0 0x10150bd
#define HAL_IOMUX_FUN_SPI_FLASH1_CLK_PAD_SPI_LCD_SIO 0x205f0bd
#define HAL_IOMUX_FUN_SPI_FLASH1_CS_PAD_GPIO_1 0x10160be
#define HAL_IOMUX_FUN_SPI_FLASH1_CS_PAD_SPI_LCD_SDC 0x205d0be
#define HAL_IOMUX_FUN_SPI_FLASH1_SIO_0_PAD_GPIO_2 0x10170bf
#define HAL_IOMUX_FUN_SPI_FLASH1_SIO_0_PAD_SPI_LCD_CLK 0x205b0bf
#define HAL_IOMUX_FUN_SPI_FLASH1_SIO_1_PAD_GPIO_3 0x10180c0
#define HAL_IOMUX_FUN_SPI_FLASH1_SIO_1_PAD_SPI_LCD_CS 0x205c0c0
#define HAL_IOMUX_FUN_SPI_FLASH1_SIO_2_PAD_GPIO_4 0x10190c1
#define HAL_IOMUX_FUN_SPI_FLASH1_SIO_2_PAD_SPI_LCD_SELECT 0x205e0c1
#define HAL_IOMUX_FUN_SPI_FLASH1_SIO_3_PAD_GPIO_5 0x101a0c2
#define HAL_IOMUX_FUN_SPI_FLASH1_SIO_3_PAD_LCD_FMARK 0x20390c2
#define HAL_IOMUX_FUN_SPI_FLASH_CLK_PAD_SPI_FLASH_CLK 0x540c3
#define HAL_IOMUX_FUN_SPI_FLASH_CS_PAD_SPI_FLASH_CS 0x550c4
#define HAL_IOMUX_FUN_SPI_FLASH_SEL_PAD_SPI_FLASH_SEL 0x560c5
#define HAL_IOMUX_FUN_SPI_FLASH_SIO_0_PAD_SPI_FLASH_SIO_0 0x570c6
#define HAL_IOMUX_FUN_SPI_FLASH_SIO_1_PAD_SPI_FLASH_SIO_1 0x580c7
#define HAL_IOMUX_FUN_SPI_FLASH_SIO_2_PAD_SPI_FLASH_SIO_2 0x590c8
#define HAL_IOMUX_FUN_SPI_FLASH_SIO_3_PAD_SPI_FLASH_SIO_3 0x5a0c9
#define HAL_IOMUX_FUN_SPI_LCD_CLK_PAD_SPI_LCD_CLK 0x5b0ca
#define HAL_IOMUX_FUN_SPI_LCD_CS_PAD_SPI_LCD_CS 0x5c0cb
#define HAL_IOMUX_FUN_SPI_LCD_SDC_PAD_SPI_LCD_SDC 0x5d0cc
#define HAL_IOMUX_FUN_SPI_LCD_SELECT_PAD_SPI_LCD_SELECT 0x5e0cd
#define HAL_IOMUX_FUN_SPI_LCD_SIO_PAD_SPI_LCD_SIO 0x5f0ce
#define HAL_IOMUX_FUN_SPI_LVDS_CLK_PAD_SPI_CAMERA_SCK 0x30510cf
#define HAL_IOMUX_FUN_SPI_LVDS_CS_PAD_SPI_CAMERA_SI_1 0x30530d0
#define HAL_IOMUX_FUN_SPI_LVDS_DI_PAD_CAMERA_REF_CLK 0x30100d1
#define HAL_IOMUX_FUN_SPI_LVDS_DO_PAD_SPI_CAMERA_SI_0 0x30520d2
#define HAL_IOMUX_FUN_UART_1_CTS_PAD_GPIO_18 0x10250d3
#define HAL_IOMUX_FUN_UART_1_CTS_PAD_SIM_2_DIO 0x304f0d3
#define HAL_IOMUX_FUN_UART_1_RTS_PAD_GPIO_19 0x10260d4
#define HAL_IOMUX_FUN_UART_1_RTS_PAD_SIM_2_RST 0x30500d4
#define HAL_IOMUX_FUN_UART_1_RXD_PAD_UART_1_RXD 0x600d5
#define HAL_IOMUX_FUN_UART_1_TXD_PAD_UART_1_TXD 0x610d6
#define HAL_IOMUX_FUN_UART_2_CTS_PAD_GPIO_22 0x10290d7
#define HAL_IOMUX_FUN_UART_2_CTS_PAD_KEYOUT_4 0x30370d7
#define HAL_IOMUX_FUN_UART_2_CTS_PAD_SDMMC1_DATA_2 0x50480d7
#define HAL_IOMUX_FUN_UART_2_RTS_PAD_GPIO_23 0x102a0d8
#define HAL_IOMUX_FUN_UART_2_RTS_PAD_KEYOUT_5 0x30380d8
#define HAL_IOMUX_FUN_UART_2_RTS_PAD_SDMMC1_DATA_3 0x50490d8
#define HAL_IOMUX_FUN_UART_2_RXD_PAD_GPIO_20 0x10270d9
#define HAL_IOMUX_FUN_UART_2_RXD_PAD_KEYIN_4 0x30310d9
#define HAL_IOMUX_FUN_UART_2_RXD_PAD_LCD_RSTB 0x403a0d9
#define HAL_IOMUX_FUN_UART_2_RXD_PAD_SDMMC1_DATA_0 0x50460d9
#define HAL_IOMUX_FUN_UART_2_TXD_PAD_GPIO_21 0x10280da
#define HAL_IOMUX_FUN_UART_2_TXD_PAD_KEYIN_5 0x30320da
#define HAL_IOMUX_FUN_UART_2_TXD_PAD_LCD_FMARK 0x40390da
#define HAL_IOMUX_FUN_UART_2_TXD_PAD_SDMMC1_DATA_1 0x50470da
#define HAL_IOMUX_FUN_UART_3_CTS_PAD_GPIO_20 0x40270db
#define HAL_IOMUX_FUN_UART_3_CTS_PAD_GPIO_22 0x20290db
#define HAL_IOMUX_FUN_UART_3_CTS_PAD_GPIO_23 0x602a0db
#define HAL_IOMUX_FUN_UART_3_CTS_PAD_KEYIN_4 0x40310db
#define HAL_IOMUX_FUN_UART_3_CTS_PAD_SDMMC1_DATA_0 0x60460db
#define HAL_IOMUX_FUN_UART_3_RTS_PAD_GPIO_21 0x40280dc
#define HAL_IOMUX_FUN_UART_3_RTS_PAD_GPIO_23 0x202a0dc
#define HAL_IOMUX_FUN_UART_3_RTS_PAD_KEYIN_5 0x40320dc
#define HAL_IOMUX_FUN_UART_3_RTS_PAD_SDMMC1_DATA_1 0x60470dc
#define HAL_IOMUX_FUN_UART_3_RXD_PAD_GPIO_20 0x20270dd
#define HAL_IOMUX_FUN_UART_3_RXD_PAD_GPIO_22 0x40290dd
#define HAL_IOMUX_FUN_UART_3_RXD_PAD_KEYOUT_4 0x40370dd
#define HAL_IOMUX_FUN_UART_3_RXD_PAD_SDMMC1_DATA_2 0x60480dd
#define HAL_IOMUX_FUN_UART_3_TXD_PAD_GPIO_19 0x30260de
#define HAL_IOMUX_FUN_UART_3_TXD_PAD_GPIO_21 0x20280de
#define HAL_IOMUX_FUN_UART_3_TXD_PAD_GPIO_23 0x402a0de
#define HAL_IOMUX_FUN_UART_3_TXD_PAD_KEYOUT_5 0x40380de
#define HAL_IOMUX_FUN_UART_3_TXD_PAD_SDMMC1_DATA_3 0x60490de
#define HAL_IOMUX_FUN_UART_RXD_RF_PAD_GPIO_0 0x50150df
#define HAL_IOMUX_FUN_UART_TXD_RF_PAD_GPIO_1 0x50160e0
#define HAL_IOMUX_FUN_WCN_HST_RXD_PAD_GPIO_3 0x50180e1
#define HAL_IOMUX_FUN_WCN_HST_TXD_PAD_GPIO_2 0x50170e2
#define HAL_IOMUX_FUN_WCN_JTAG_TCK_PAD_GPIO_0 0x40150e3
#define HAL_IOMUX_FUN_WCN_JTAG_TDI_PAD_GPIO_3 0x40180e4
#define HAL_IOMUX_FUN_WCN_JTAG_TDO_PAD_GPIO_4 0x40190e5
#define HAL_IOMUX_FUN_WCN_JTAG_TMS_PAD_GPIO_2 0x40170e6
#define HAL_IOMUX_FUN_WCN_JTAG_TRST_PAD_GPIO_1 0x40160e7
#define HAL_IOMUX_FUN_WCN_UART_CTS_PAD_GPIO_7 0x401c0e8
#define HAL_IOMUX_FUN_WCN_UART_CTS_PAD_GPIO_18 0x50250e8
#define HAL_IOMUX_FUN_WCN_UART_RTS_PAD_GPIO_5 0x401a0e9
#define HAL_IOMUX_FUN_WCN_UART_RTS_PAD_GPIO_19 0x50260e9
#define HAL_IOMUX_FUN_WCN_UART_RXD_PAD_GPIO_7 0x501c0ea
#define HAL_IOMUX_FUN_WCN_UART_RXD_PAD_GPIO_18 0x40250ea
#define HAL_IOMUX_FUN_WCN_UART_TXD_PAD_GPIO_5 0x501a0eb
#define HAL_IOMUX_FUN_WCN_UART_TXD_PAD_GPIO_19 0x40260eb
#define HAL_IOMUX_FUN_ZSP_JTAG_TCK_PAD_AP_JTAG_TCK 0x30040ec
#define HAL_IOMUX_FUN_ZSP_JTAG_TDI_PAD_AP_JTAG_TDI 0x30050ed
#define HAL_IOMUX_FUN_ZSP_JTAG_TDO_PAD_AP_JTAG_TDO 0x30060ee
#define HAL_IOMUX_FUN_ZSP_JTAG_TMS_PAD_AP_JTAG_TMS 0x30070ef
#define HAL_IOMUX_FUN_ZSP_JTAG_TRST_PAD_AP_JTAG_TRST 0x30080f0
#define HAL_IOMUX_FUN_ZSP_UART_CTS_PAD_GPIO_19 0x20260f1
#define HAL_IOMUX_FUN_ZSP_UART_CTS_PAD_GPIO_21 0x50280f1
#define HAL_IOMUX_FUN_ZSP_UART_CTS_PAD_GPIO_22 0x30290f1
#define HAL_IOMUX_FUN_ZSP_UART_RTS_PAD_GPIO_20 0x50270f2
#define HAL_IOMUX_FUN_ZSP_UART_RTS_PAD_GPIO_23 0x302a0f2
#define HAL_IOMUX_FUN_ZSP_UART_RXD_PAD_GPIO_20 0x30270f3
#define HAL_IOMUX_FUN_ZSP_UART_RXD_PAD_GPIO_23 0x502a0f3
#define HAL_IOMUX_FUN_ZSP_UART_TXD_PAD_GPIO_18 0x30250f4
#define HAL_IOMUX_FUN_ZSP_UART_TXD_PAD_GPIO_21 0x30280f4
#define HAL_IOMUX_FUN_ZSP_UART_TXD_PAD_GPIO_22 0x50290f4

#endif
